#ifndef __SPI1_H__
#define __SPI1_H__

#include "SPI_config.h"

#if USE_SPI_1

void SPI1_init();

#if SPI1_MOSI_ENABLE
void SPI1_write(uint8_t data);
#endif

#if SPI1_MISO_ENABLE
uint8_t SPI1_read();
#endif

#endif
#endif